import request from '@/api/request'

// 请求首页数据
function getHomeInfo() {
    return request({
        url: '/index/index',
        method: 'GET'
    })
}
// 获取品牌制造商直供
function getBrandlistInfo(data) {
    return request({
        url: '/brand/listaction',
        method: 'GET',
        data,
    })
}
// 获取品牌制造商直供
function getBrandDetailInfo(data) {
    return request({
        url: '/brand/detailaction',
        method: 'GET',
        data,
    })
}
// 获取新品首发与人气推荐
function getNewGoodsInfo(data) {
    return request({
        url: '/goods/goodsList',
        method: 'GET',
        data,
    })
}

export { getHomeInfo, getBrandlistInfo, getBrandDetailInfo, getNewGoodsInfo }
